Modified to work in UBUNTU 18.04 and OPENCV3#2
Modified to work in UBUNTU 18.04 and OPENCV3#2joanpepcompany wants to merge 1 commit intokailigo:masterfrom
Conversation
|
Appreciated. Thanks. |
|
(Using opencv 4 and macOS) I manually made the changes you have done @joanpepcompany Any help ? |
|
Hello, |
|
There are plenty more issues after that, especially with the C API identifiers (eg. error: use of undeclared identifier 'CV_REDUCE_SUM'; did you mean 'REDUCE_SUM'). Will get a system with OpenCV3. Also CV4 requires c++ 11 standard. Just keeping this here for any other poor soul to save some time. |
I have modified the CMAKELIST and some OPENCV functions in order to work in Ubuntu18.04 and OpenCV 3. The code has been tested and with the test images that you provide show the same results than the result.txt attached.
Best regards,
Joan Pep Company